﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BA2009.Entities
{
     public class BannerPosition : EntityBase
    {

        [ColumnAttributes("BannerPositionID")]
        public int BannerPositionID { get; set; }

        [ColumnAttributes("BannerPositionName")]
        public string BannerPositionName { get; set; }

        [ColumnAttributes("Description")]
        public string Description { get; set; }

        [ColumnAttributes("Code")]
        public string Code { get; set; }

        [ColumnAttributes("PageID")]
        public int PageID { get; set; }


        public IList<int> Banners { get; set; }

        public override void Validate()
        {
            throw new NotImplementedException();
        }

        public override string TableName
        {
            get { return "BannerPosition"; }
        }
    }
}
